<?php
/**
 *      [PinTuXiu] (C)2001-2099 ONightjar.com Pintuxiu.com.
 *      This is NOT a freeware, use is subject to license terms
 */
class ajaxtpl extends basecontroller
{

	public function __construct() {
		parent::__construct();
	}

	public function render_tpl(){
		$tpl = $this->spArgs("tpl");
		if($tpl){
			$data['tpl'] = $this->render('/js_tpl/'.$tpl.'.php');
			ajax_success_response($data, '');
			return;
		}
		ajax_failed_response('模板获取失败');
	}
	
}